FROM eclipse-temurin:11.0.17_8-jre

WORKDIR /opt/logistics

ADD target/Logistics-0.0.1-SNAPSHOT.jar /opt/logistics/target/

ADD BUILD/conf /opt/logistics/conf
ADD BUILD/bin /opt/logistics/bin

ENV NACOS_HOST nacos:8848
ENV JAR_NAME Logistics-0.0.1-SNAPSHOT.jar

CMD ["sh", "bin/restart.sh"]